]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lookingGlass: Remove old hack for static functions on interfaces
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 7 Feb 2013 11:01:29 +0000 (06:01 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 8 Feb 2013 19:31:08 +0000 (14:31 -0500)
This has been fixed with the addition of interfaces in Gjs.

js/ui/lookingGlass.js

index 44802d28b1af520e580ef35d088df1deefccf95c..f39479bb55b6bd0b28f282b2b56921c326593174 100644 (file)
@@ -950,9 +950,7 @@ const LookingGlass = new Lang.Class({
 
     _updateFont: function() {
         let fontName = this._interfaceSettings.get_string('monospace-font-name');
-        // This is mishandled by the scanner - should by Pango.FontDescription_from_string(fontName);
-        // https://bugzilla.gnome.org/show_bug.cgi?id=595889
-        let fontDesc = Pango.font_description_from_string(fontName);
+        let fontDesc = Pango.FontDescription.from_string(fontName);
         // We ignore everything but size and style; you'd be crazy to set your system-wide
         // monospace font to be bold/oblique/etc. Could easily be added here.
         this.actor.style =